/**
 * 消息提示框的公共数据
 */
export default {
  state: {
    messageComponent: {}
  },
  mutations: {
    setMessageComponent(state, messageComponent) {
      state.messageComponent = messageComponent;
    },
    getMessageComponent(state) {
      return state.messageComponent;
    },
    clearMessageComponent(state) {
      state.messageComponent = {}
    }
  }
}